package com.project.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

@Data
@TableName(value = "flow")
public class Flow {
    public static final String COL_MENU_PRICE = "menu_price";
    /**
     * 编号
     */
    @TableId(value = "flow_id", type = IdType.INPUT)
    private Long flowId;

    /**
     * 菜品id
     */
    @TableField(value = "menu_id")
    private Long menuId;

    /**
     * 销售量
     */
    @TableField(value = "sales")
    private String sales;

    /**
     * 总金额
     */
    @TableField(value = "`sum`")
    private Double sum;

    /**
     * 创建时间
     */
    @TableField(value = "creation_time")
    private Date creationTime;

    @TableField(value = "is_delete")
    private Integer isDelete;

    /**
     * 菜名
     */
    @TableField(value = "dish_name")
    private String dishName;

    public static final String COL_FLOW_ID = "flow_id";

    public static final String COL_MENU_ID = "menu_id";

    public static final String COL_SALES = "sales";

    public static final String COL_SUM = "sum";

    public static final String COL_CREATION_TIME = "creation_time";

    public static final String COL_IS_DELETE = "is_delete";
}